import React from "react";
import { NavLink } from "react-router-dom";
import "./Tabbar.less";

const TabBar = () => {
  return (
    <footer className="tabbar">
      <NavLink className="item" to="/home/home">
        <span className="iconfont icon-shouye"></span>
        <span>首页</span>
      </NavLink>
      <NavLink className="item" to="/home/classify">
        <span className="iconfont icon-fenlei"></span>
        <span>分类</span>
      </NavLink>
      <NavLink className="item" to="/home/cart">
        <span className="iconfont icon-gouwuche"></span>
        <span>购物车</span>
      </NavLink>
      <NavLink className="item" to="/home/mine">
        <span className="iconfont icon-wode"></span>
        <span>我的</span>
      </NavLink>
    </footer>
  );
};

export default TabBar;
